package com.bjpowernode.customer_annotation_1;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.bjpowernode.customer_annotation_1.service.UserManagerApplogic;

@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration("classpath:com/bjpowernode/customer_annotation_1/applicationContext.xml")
public class AopTest1 {  
    @Autowired  
    private UserManagerApplogic userManager;  
      
//    @Test  
    public void testAopAddUser(){  
        userManager.addUser("You you ");  
    }  
  
    @Test  
    public void testAopAddOne(){  
        userManager.addOne(1, 1);  
    }  
      
}  